package com.jiazhong.front;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@SpringBootApplication
@ServletComponentScan("com.jiazhong.front.filter")
@ComponentScan("com.jiazhong")
//手动扫描com.jiazhong.commons.Mapper包
@MapperScan("com.jiazhong.commons.Mapper")
public class ProjectBookstoreFrontApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProjectBookstoreFrontApplication.class,args);
    }
}